package com.risenb.bean;

import java.util.ArrayList;
import java.util.List;

public class QQContractExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QQContractExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFirstNameIsNull() {
            addCriterion("first_name is null");
            return (Criteria) this;
        }

        public Criteria andFirstNameIsNotNull() {
            addCriterion("first_name is not null");
            return (Criteria) this;
        }

        public Criteria andFirstNameEqualTo(String value) {
            addCriterion("first_name =", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameNotEqualTo(String value) {
            addCriterion("first_name <>", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameGreaterThan(String value) {
            addCriterion("first_name >", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameGreaterThanOrEqualTo(String value) {
            addCriterion("first_name >=", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameLessThan(String value) {
            addCriterion("first_name <", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameLessThanOrEqualTo(String value) {
            addCriterion("first_name <=", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameLike(String value) {
            addCriterion("first_name like", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameNotLike(String value) {
            addCriterion("first_name not like", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameIn(List<String> values) {
            addCriterion("first_name in", values, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameNotIn(List<String> values) {
            addCriterion("first_name not in", values, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameBetween(String value1, String value2) {
            addCriterion("first_name between", value1, value2, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameNotBetween(String value1, String value2) {
            addCriterion("first_name not between", value1, value2, "firstName");
            return (Criteria) this;
        }

        public Criteria andLastNameIsNull() {
            addCriterion("last_name is null");
            return (Criteria) this;
        }

        public Criteria andLastNameIsNotNull() {
            addCriterion("last_name is not null");
            return (Criteria) this;
        }

        public Criteria andLastNameEqualTo(String value) {
            addCriterion("last_name =", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameNotEqualTo(String value) {
            addCriterion("last_name <>", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameGreaterThan(String value) {
            addCriterion("last_name >", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameGreaterThanOrEqualTo(String value) {
            addCriterion("last_name >=", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameLessThan(String value) {
            addCriterion("last_name <", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameLessThanOrEqualTo(String value) {
            addCriterion("last_name <=", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameLike(String value) {
            addCriterion("last_name like", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameNotLike(String value) {
            addCriterion("last_name not like", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameIn(List<String> values) {
            addCriterion("last_name in", values, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameNotIn(List<String> values) {
            addCriterion("last_name not in", values, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameBetween(String value1, String value2) {
            addCriterion("last_name between", value1, value2, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameNotBetween(String value1, String value2) {
            addCriterion("last_name not between", value1, value2, "lastName");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNull() {
            addCriterion("nick_name is null");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNotNull() {
            addCriterion("nick_name is not null");
            return (Criteria) this;
        }

        public Criteria andNickNameEqualTo(String value) {
            addCriterion("nick_name =", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotEqualTo(String value) {
            addCriterion("nick_name <>", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThan(String value) {
            addCriterion("nick_name >", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThanOrEqualTo(String value) {
            addCriterion("nick_name >=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThan(String value) {
            addCriterion("nick_name <", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThanOrEqualTo(String value) {
            addCriterion("nick_name <=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLike(String value) {
            addCriterion("nick_name like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotLike(String value) {
            addCriterion("nick_name not like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameIn(List<String> values) {
            addCriterion("nick_name in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotIn(List<String> values) {
            addCriterion("nick_name not in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameBetween(String value1, String value2) {
            addCriterion("nick_name between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotBetween(String value1, String value2) {
            addCriterion("nick_name not between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andQqNumberIsNull() {
            addCriterion("qq_number is null");
            return (Criteria) this;
        }

        public Criteria andQqNumberIsNotNull() {
            addCriterion("qq_number is not null");
            return (Criteria) this;
        }

        public Criteria andQqNumberEqualTo(String value) {
            addCriterion("qq_number =", value, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberNotEqualTo(String value) {
            addCriterion("qq_number <>", value, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberGreaterThan(String value) {
            addCriterion("qq_number >", value, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberGreaterThanOrEqualTo(String value) {
            addCriterion("qq_number >=", value, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberLessThan(String value) {
            addCriterion("qq_number <", value, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberLessThanOrEqualTo(String value) {
            addCriterion("qq_number <=", value, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberLike(String value) {
            addCriterion("qq_number like", value, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberNotLike(String value) {
            addCriterion("qq_number not like", value, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberIn(List<String> values) {
            addCriterion("qq_number in", values, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberNotIn(List<String> values) {
            addCriterion("qq_number not in", values, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberBetween(String value1, String value2) {
            addCriterion("qq_number between", value1, value2, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andQqNumberNotBetween(String value1, String value2) {
            addCriterion("qq_number not between", value1, value2, "qqNumber");
            return (Criteria) this;
        }

        public Criteria andHomePhoneIsNull() {
            addCriterion("home_phone is null");
            return (Criteria) this;
        }

        public Criteria andHomePhoneIsNotNull() {
            addCriterion("home_phone is not null");
            return (Criteria) this;
        }

        public Criteria andHomePhoneEqualTo(String value) {
            addCriterion("home_phone =", value, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneNotEqualTo(String value) {
            addCriterion("home_phone <>", value, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneGreaterThan(String value) {
            addCriterion("home_phone >", value, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("home_phone >=", value, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneLessThan(String value) {
            addCriterion("home_phone <", value, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneLessThanOrEqualTo(String value) {
            addCriterion("home_phone <=", value, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneLike(String value) {
            addCriterion("home_phone like", value, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneNotLike(String value) {
            addCriterion("home_phone not like", value, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneIn(List<String> values) {
            addCriterion("home_phone in", values, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneNotIn(List<String> values) {
            addCriterion("home_phone not in", values, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneBetween(String value1, String value2) {
            addCriterion("home_phone between", value1, value2, "homePhone");
            return (Criteria) this;
        }

        public Criteria andHomePhoneNotBetween(String value1, String value2) {
            addCriterion("home_phone not between", value1, value2, "homePhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneIsNull() {
            addCriterion("work_phone is null");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneIsNotNull() {
            addCriterion("work_phone is not null");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneEqualTo(String value) {
            addCriterion("work_phone =", value, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneNotEqualTo(String value) {
            addCriterion("work_phone <>", value, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneGreaterThan(String value) {
            addCriterion("work_phone >", value, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("work_phone >=", value, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneLessThan(String value) {
            addCriterion("work_phone <", value, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneLessThanOrEqualTo(String value) {
            addCriterion("work_phone <=", value, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneLike(String value) {
            addCriterion("work_phone like", value, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneNotLike(String value) {
            addCriterion("work_phone not like", value, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneIn(List<String> values) {
            addCriterion("work_phone in", values, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneNotIn(List<String> values) {
            addCriterion("work_phone not in", values, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneBetween(String value1, String value2) {
            addCriterion("work_phone between", value1, value2, "workPhone");
            return (Criteria) this;
        }

        public Criteria andWorkPhoneNotBetween(String value1, String value2) {
            addCriterion("work_phone not between", value1, value2, "workPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneIsNull() {
            addCriterion("other_phone is null");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneIsNotNull() {
            addCriterion("other_phone is not null");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneEqualTo(String value) {
            addCriterion("other_phone =", value, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneNotEqualTo(String value) {
            addCriterion("other_phone <>", value, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneGreaterThan(String value) {
            addCriterion("other_phone >", value, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("other_phone >=", value, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneLessThan(String value) {
            addCriterion("other_phone <", value, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneLessThanOrEqualTo(String value) {
            addCriterion("other_phone <=", value, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneLike(String value) {
            addCriterion("other_phone like", value, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneNotLike(String value) {
            addCriterion("other_phone not like", value, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneIn(List<String> values) {
            addCriterion("other_phone in", values, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneNotIn(List<String> values) {
            addCriterion("other_phone not in", values, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneBetween(String value1, String value2) {
            addCriterion("other_phone between", value1, value2, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andOtherPhoneNotBetween(String value1, String value2) {
            addCriterion("other_phone not between", value1, value2, "otherPhone");
            return (Criteria) this;
        }

        public Criteria andHomeMobileIsNull() {
            addCriterion("home_mobile is null");
            return (Criteria) this;
        }

        public Criteria andHomeMobileIsNotNull() {
            addCriterion("home_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andHomeMobileEqualTo(String value) {
            addCriterion("home_mobile =", value, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileNotEqualTo(String value) {
            addCriterion("home_mobile <>", value, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileGreaterThan(String value) {
            addCriterion("home_mobile >", value, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileGreaterThanOrEqualTo(String value) {
            addCriterion("home_mobile >=", value, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileLessThan(String value) {
            addCriterion("home_mobile <", value, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileLessThanOrEqualTo(String value) {
            addCriterion("home_mobile <=", value, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileLike(String value) {
            addCriterion("home_mobile like", value, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileNotLike(String value) {
            addCriterion("home_mobile not like", value, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileIn(List<String> values) {
            addCriterion("home_mobile in", values, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileNotIn(List<String> values) {
            addCriterion("home_mobile not in", values, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileBetween(String value1, String value2) {
            addCriterion("home_mobile between", value1, value2, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andHomeMobileNotBetween(String value1, String value2) {
            addCriterion("home_mobile not between", value1, value2, "homeMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileIsNull() {
            addCriterion("work_mobile is null");
            return (Criteria) this;
        }

        public Criteria andWorkMobileIsNotNull() {
            addCriterion("work_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andWorkMobileEqualTo(String value) {
            addCriterion("work_mobile =", value, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileNotEqualTo(String value) {
            addCriterion("work_mobile <>", value, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileGreaterThan(String value) {
            addCriterion("work_mobile >", value, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileGreaterThanOrEqualTo(String value) {
            addCriterion("work_mobile >=", value, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileLessThan(String value) {
            addCriterion("work_mobile <", value, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileLessThanOrEqualTo(String value) {
            addCriterion("work_mobile <=", value, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileLike(String value) {
            addCriterion("work_mobile like", value, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileNotLike(String value) {
            addCriterion("work_mobile not like", value, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileIn(List<String> values) {
            addCriterion("work_mobile in", values, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileNotIn(List<String> values) {
            addCriterion("work_mobile not in", values, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileBetween(String value1, String value2) {
            addCriterion("work_mobile between", value1, value2, "workMobile");
            return (Criteria) this;
        }

        public Criteria andWorkMobileNotBetween(String value1, String value2) {
            addCriterion("work_mobile not between", value1, value2, "workMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileIsNull() {
            addCriterion("other_mobile is null");
            return (Criteria) this;
        }

        public Criteria andOtherMobileIsNotNull() {
            addCriterion("other_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andOtherMobileEqualTo(String value) {
            addCriterion("other_mobile =", value, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileNotEqualTo(String value) {
            addCriterion("other_mobile <>", value, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileGreaterThan(String value) {
            addCriterion("other_mobile >", value, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileGreaterThanOrEqualTo(String value) {
            addCriterion("other_mobile >=", value, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileLessThan(String value) {
            addCriterion("other_mobile <", value, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileLessThanOrEqualTo(String value) {
            addCriterion("other_mobile <=", value, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileLike(String value) {
            addCriterion("other_mobile like", value, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileNotLike(String value) {
            addCriterion("other_mobile not like", value, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileIn(List<String> values) {
            addCriterion("other_mobile in", values, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileNotIn(List<String> values) {
            addCriterion("other_mobile not in", values, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileBetween(String value1, String value2) {
            addCriterion("other_mobile between", value1, value2, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andOtherMobileNotBetween(String value1, String value2) {
            addCriterion("other_mobile not between", value1, value2, "otherMobile");
            return (Criteria) this;
        }

        public Criteria andHomeFaxIsNull() {
            addCriterion("home_fax is null");
            return (Criteria) this;
        }

        public Criteria andHomeFaxIsNotNull() {
            addCriterion("home_fax is not null");
            return (Criteria) this;
        }

        public Criteria andHomeFaxEqualTo(String value) {
            addCriterion("home_fax =", value, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxNotEqualTo(String value) {
            addCriterion("home_fax <>", value, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxGreaterThan(String value) {
            addCriterion("home_fax >", value, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxGreaterThanOrEqualTo(String value) {
            addCriterion("home_fax >=", value, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxLessThan(String value) {
            addCriterion("home_fax <", value, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxLessThanOrEqualTo(String value) {
            addCriterion("home_fax <=", value, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxLike(String value) {
            addCriterion("home_fax like", value, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxNotLike(String value) {
            addCriterion("home_fax not like", value, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxIn(List<String> values) {
            addCriterion("home_fax in", values, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxNotIn(List<String> values) {
            addCriterion("home_fax not in", values, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxBetween(String value1, String value2) {
            addCriterion("home_fax between", value1, value2, "homeFax");
            return (Criteria) this;
        }

        public Criteria andHomeFaxNotBetween(String value1, String value2) {
            addCriterion("home_fax not between", value1, value2, "homeFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxIsNull() {
            addCriterion("work_fax is null");
            return (Criteria) this;
        }

        public Criteria andWorkFaxIsNotNull() {
            addCriterion("work_fax is not null");
            return (Criteria) this;
        }

        public Criteria andWorkFaxEqualTo(String value) {
            addCriterion("work_fax =", value, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxNotEqualTo(String value) {
            addCriterion("work_fax <>", value, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxGreaterThan(String value) {
            addCriterion("work_fax >", value, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxGreaterThanOrEqualTo(String value) {
            addCriterion("work_fax >=", value, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxLessThan(String value) {
            addCriterion("work_fax <", value, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxLessThanOrEqualTo(String value) {
            addCriterion("work_fax <=", value, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxLike(String value) {
            addCriterion("work_fax like", value, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxNotLike(String value) {
            addCriterion("work_fax not like", value, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxIn(List<String> values) {
            addCriterion("work_fax in", values, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxNotIn(List<String> values) {
            addCriterion("work_fax not in", values, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxBetween(String value1, String value2) {
            addCriterion("work_fax between", value1, value2, "workFax");
            return (Criteria) this;
        }

        public Criteria andWorkFaxNotBetween(String value1, String value2) {
            addCriterion("work_fax not between", value1, value2, "workFax");
            return (Criteria) this;
        }

        public Criteria andDepartIsNull() {
            addCriterion("depart is null");
            return (Criteria) this;
        }

        public Criteria andDepartIsNotNull() {
            addCriterion("depart is not null");
            return (Criteria) this;
        }

        public Criteria andDepartEqualTo(String value) {
            addCriterion("depart =", value, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartNotEqualTo(String value) {
            addCriterion("depart <>", value, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartGreaterThan(String value) {
            addCriterion("depart >", value, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartGreaterThanOrEqualTo(String value) {
            addCriterion("depart >=", value, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartLessThan(String value) {
            addCriterion("depart <", value, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartLessThanOrEqualTo(String value) {
            addCriterion("depart <=", value, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartLike(String value) {
            addCriterion("depart like", value, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartNotLike(String value) {
            addCriterion("depart not like", value, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartIn(List<String> values) {
            addCriterion("depart in", values, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartNotIn(List<String> values) {
            addCriterion("depart not in", values, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartBetween(String value1, String value2) {
            addCriterion("depart between", value1, value2, "depart");
            return (Criteria) this;
        }

        public Criteria andDepartNotBetween(String value1, String value2) {
            addCriterion("depart not between", value1, value2, "depart");
            return (Criteria) this;
        }

        public Criteria andHomeAddressIsNull() {
            addCriterion("home_address is null");
            return (Criteria) this;
        }

        public Criteria andHomeAddressIsNotNull() {
            addCriterion("home_address is not null");
            return (Criteria) this;
        }

        public Criteria andHomeAddressEqualTo(String value) {
            addCriterion("home_address =", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressNotEqualTo(String value) {
            addCriterion("home_address <>", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressGreaterThan(String value) {
            addCriterion("home_address >", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressGreaterThanOrEqualTo(String value) {
            addCriterion("home_address >=", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressLessThan(String value) {
            addCriterion("home_address <", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressLessThanOrEqualTo(String value) {
            addCriterion("home_address <=", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressLike(String value) {
            addCriterion("home_address like", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressNotLike(String value) {
            addCriterion("home_address not like", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressIn(List<String> values) {
            addCriterion("home_address in", values, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressNotIn(List<String> values) {
            addCriterion("home_address not in", values, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressBetween(String value1, String value2) {
            addCriterion("home_address between", value1, value2, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressNotBetween(String value1, String value2) {
            addCriterion("home_address not between", value1, value2, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressIsNull() {
            addCriterion("work_address is null");
            return (Criteria) this;
        }

        public Criteria andWorkAddressIsNotNull() {
            addCriterion("work_address is not null");
            return (Criteria) this;
        }

        public Criteria andWorkAddressEqualTo(String value) {
            addCriterion("work_address =", value, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressNotEqualTo(String value) {
            addCriterion("work_address <>", value, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressGreaterThan(String value) {
            addCriterion("work_address >", value, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressGreaterThanOrEqualTo(String value) {
            addCriterion("work_address >=", value, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressLessThan(String value) {
            addCriterion("work_address <", value, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressLessThanOrEqualTo(String value) {
            addCriterion("work_address <=", value, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressLike(String value) {
            addCriterion("work_address like", value, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressNotLike(String value) {
            addCriterion("work_address not like", value, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressIn(List<String> values) {
            addCriterion("work_address in", values, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressNotIn(List<String> values) {
            addCriterion("work_address not in", values, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressBetween(String value1, String value2) {
            addCriterion("work_address between", value1, value2, "workAddress");
            return (Criteria) this;
        }

        public Criteria andWorkAddressNotBetween(String value1, String value2) {
            addCriterion("work_address not between", value1, value2, "workAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressIsNull() {
            addCriterion("other_address is null");
            return (Criteria) this;
        }

        public Criteria andOtherAddressIsNotNull() {
            addCriterion("other_address is not null");
            return (Criteria) this;
        }

        public Criteria andOtherAddressEqualTo(String value) {
            addCriterion("other_address =", value, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressNotEqualTo(String value) {
            addCriterion("other_address <>", value, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressGreaterThan(String value) {
            addCriterion("other_address >", value, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressGreaterThanOrEqualTo(String value) {
            addCriterion("other_address >=", value, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressLessThan(String value) {
            addCriterion("other_address <", value, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressLessThanOrEqualTo(String value) {
            addCriterion("other_address <=", value, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressLike(String value) {
            addCriterion("other_address like", value, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressNotLike(String value) {
            addCriterion("other_address not like", value, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressIn(List<String> values) {
            addCriterion("other_address in", values, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressNotIn(List<String> values) {
            addCriterion("other_address not in", values, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressBetween(String value1, String value2) {
            addCriterion("other_address between", value1, value2, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andOtherAddressNotBetween(String value1, String value2) {
            addCriterion("other_address not between", value1, value2, "otherAddress");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailIsNull() {
            addCriterion("personal_email is null");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailIsNotNull() {
            addCriterion("personal_email is not null");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailEqualTo(String value) {
            addCriterion("personal_email =", value, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailNotEqualTo(String value) {
            addCriterion("personal_email <>", value, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailGreaterThan(String value) {
            addCriterion("personal_email >", value, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailGreaterThanOrEqualTo(String value) {
            addCriterion("personal_email >=", value, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailLessThan(String value) {
            addCriterion("personal_email <", value, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailLessThanOrEqualTo(String value) {
            addCriterion("personal_email <=", value, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailLike(String value) {
            addCriterion("personal_email like", value, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailNotLike(String value) {
            addCriterion("personal_email not like", value, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailIn(List<String> values) {
            addCriterion("personal_email in", values, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailNotIn(List<String> values) {
            addCriterion("personal_email not in", values, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailBetween(String value1, String value2) {
            addCriterion("personal_email between", value1, value2, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalEmailNotBetween(String value1, String value2) {
            addCriterion("personal_email not between", value1, value2, "personalEmail");
            return (Criteria) this;
        }

        public Criteria andHomeemailIsNull() {
            addCriterion("home_email is null");
            return (Criteria) this;
        }

        public Criteria andHomeemailIsNotNull() {
            addCriterion("home_email is not null");
            return (Criteria) this;
        }

        public Criteria andHomeemailEqualTo(String value) {
            addCriterion("home_email =", value, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailNotEqualTo(String value) {
            addCriterion("home_email <>", value, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailGreaterThan(String value) {
            addCriterion("home_email >", value, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailGreaterThanOrEqualTo(String value) {
            addCriterion("home_email >=", value, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailLessThan(String value) {
            addCriterion("home_email <", value, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailLessThanOrEqualTo(String value) {
            addCriterion("home_email <=", value, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailLike(String value) {
            addCriterion("home_email like", value, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailNotLike(String value) {
            addCriterion("home_email not like", value, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailIn(List<String> values) {
            addCriterion("home_email in", values, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailNotIn(List<String> values) {
            addCriterion("home_email not in", values, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailBetween(String value1, String value2) {
            addCriterion("home_email between", value1, value2, "homeemail");
            return (Criteria) this;
        }

        public Criteria andHomeemailNotBetween(String value1, String value2) {
            addCriterion("home_email not between", value1, value2, "homeemail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailIsNull() {
            addCriterion("work_email is null");
            return (Criteria) this;
        }

        public Criteria andWorkEmailIsNotNull() {
            addCriterion("work_email is not null");
            return (Criteria) this;
        }

        public Criteria andWorkEmailEqualTo(String value) {
            addCriterion("work_email =", value, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailNotEqualTo(String value) {
            addCriterion("work_email <>", value, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailGreaterThan(String value) {
            addCriterion("work_email >", value, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailGreaterThanOrEqualTo(String value) {
            addCriterion("work_email >=", value, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailLessThan(String value) {
            addCriterion("work_email <", value, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailLessThanOrEqualTo(String value) {
            addCriterion("work_email <=", value, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailLike(String value) {
            addCriterion("work_email like", value, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailNotLike(String value) {
            addCriterion("work_email not like", value, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailIn(List<String> values) {
            addCriterion("work_email in", values, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailNotIn(List<String> values) {
            addCriterion("work_email not in", values, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailBetween(String value1, String value2) {
            addCriterion("work_email between", value1, value2, "workEmail");
            return (Criteria) this;
        }

        public Criteria andWorkEmailNotBetween(String value1, String value2) {
            addCriterion("work_email not between", value1, value2, "workEmail");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlIsNull() {
            addCriterion("personal_url is null");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlIsNotNull() {
            addCriterion("personal_url is not null");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlEqualTo(String value) {
            addCriterion("personal_url =", value, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlNotEqualTo(String value) {
            addCriterion("personal_url <>", value, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlGreaterThan(String value) {
            addCriterion("personal_url >", value, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlGreaterThanOrEqualTo(String value) {
            addCriterion("personal_url >=", value, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlLessThan(String value) {
            addCriterion("personal_url <", value, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlLessThanOrEqualTo(String value) {
            addCriterion("personal_url <=", value, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlLike(String value) {
            addCriterion("personal_url like", value, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlNotLike(String value) {
            addCriterion("personal_url not like", value, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlIn(List<String> values) {
            addCriterion("personal_url in", values, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlNotIn(List<String> values) {
            addCriterion("personal_url not in", values, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlBetween(String value1, String value2) {
            addCriterion("personal_url between", value1, value2, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andPersonalUrlNotBetween(String value1, String value2) {
            addCriterion("personal_url not between", value1, value2, "personalUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlIsNull() {
            addCriterion("home_url is null");
            return (Criteria) this;
        }

        public Criteria andHomeUrlIsNotNull() {
            addCriterion("home_url is not null");
            return (Criteria) this;
        }

        public Criteria andHomeUrlEqualTo(String value) {
            addCriterion("home_url =", value, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlNotEqualTo(String value) {
            addCriterion("home_url <>", value, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlGreaterThan(String value) {
            addCriterion("home_url >", value, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlGreaterThanOrEqualTo(String value) {
            addCriterion("home_url >=", value, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlLessThan(String value) {
            addCriterion("home_url <", value, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlLessThanOrEqualTo(String value) {
            addCriterion("home_url <=", value, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlLike(String value) {
            addCriterion("home_url like", value, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlNotLike(String value) {
            addCriterion("home_url not like", value, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlIn(List<String> values) {
            addCriterion("home_url in", values, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlNotIn(List<String> values) {
            addCriterion("home_url not in", values, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlBetween(String value1, String value2) {
            addCriterion("home_url between", value1, value2, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andHomeUrlNotBetween(String value1, String value2) {
            addCriterion("home_url not between", value1, value2, "homeUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlIsNull() {
            addCriterion("work_url is null");
            return (Criteria) this;
        }

        public Criteria andWorkUrlIsNotNull() {
            addCriterion("work_url is not null");
            return (Criteria) this;
        }

        public Criteria andWorkUrlEqualTo(String value) {
            addCriterion("work_url =", value, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlNotEqualTo(String value) {
            addCriterion("work_url <>", value, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlGreaterThan(String value) {
            addCriterion("work_url >", value, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlGreaterThanOrEqualTo(String value) {
            addCriterion("work_url >=", value, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlLessThan(String value) {
            addCriterion("work_url <", value, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlLessThanOrEqualTo(String value) {
            addCriterion("work_url <=", value, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlLike(String value) {
            addCriterion("work_url like", value, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlNotLike(String value) {
            addCriterion("work_url not like", value, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlIn(List<String> values) {
            addCriterion("work_url in", values, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlNotIn(List<String> values) {
            addCriterion("work_url not in", values, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlBetween(String value1, String value2) {
            addCriterion("work_url between", value1, value2, "workUrl");
            return (Criteria) this;
        }

        public Criteria andWorkUrlNotBetween(String value1, String value2) {
            addCriterion("work_url not between", value1, value2, "workUrl");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNull() {
            addCriterion("birthday is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNotNull() {
            addCriterion("birthday is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayEqualTo(String value) {
            addCriterion("birthday =", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotEqualTo(String value) {
            addCriterion("birthday <>", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThan(String value) {
            addCriterion("birthday >", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThanOrEqualTo(String value) {
            addCriterion("birthday >=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThan(String value) {
            addCriterion("birthday <", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThanOrEqualTo(String value) {
            addCriterion("birthday <=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLike(String value) {
            addCriterion("birthday like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotLike(String value) {
            addCriterion("birthday not like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayIn(List<String> values) {
            addCriterion("birthday in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotIn(List<String> values) {
            addCriterion("birthday not in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayBetween(String value1, String value2) {
            addCriterion("birthday between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotBetween(String value1, String value2) {
            addCriterion("birthday not between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andDutyIsNull() {
            addCriterion("duty is null");
            return (Criteria) this;
        }

        public Criteria andDutyIsNotNull() {
            addCriterion("duty is not null");
            return (Criteria) this;
        }

        public Criteria andDutyEqualTo(String value) {
            addCriterion("duty =", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotEqualTo(String value) {
            addCriterion("duty <>", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyGreaterThan(String value) {
            addCriterion("duty >", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyGreaterThanOrEqualTo(String value) {
            addCriterion("duty >=", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyLessThan(String value) {
            addCriterion("duty <", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyLessThanOrEqualTo(String value) {
            addCriterion("duty <=", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyLike(String value) {
            addCriterion("duty like", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotLike(String value) {
            addCriterion("duty not like", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyIn(List<String> values) {
            addCriterion("duty in", values, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotIn(List<String> values) {
            addCriterion("duty not in", values, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyBetween(String value1, String value2) {
            addCriterion("duty between", value1, value2, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotBetween(String value1, String value2) {
            addCriterion("duty not between", value1, value2, "duty");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}